""" preface_ha """
# -*- encoding: utf-8 -*-
# !/usr/bin/env python

import math

def f1_func(x):
    """function1  f1_func"""
    return math.sqrt(x + 3) - x + 1

def g1_func(t):
    """function2  g1_func"""
    return t**2 - 1

def h1_func(i):
    """function3  h1_func"""
    return i**2 + 1/i + 2

for x in [0, 1, math.sqrt(2), math.sqrt(2)-1]:
    print("\n", "f1_func({:.2f}) = {:.3f}".format(x, f1_func(x)))

for t in [0, 1, math.sqrt(2), math.sqrt(2)-1]:
    print("\n", "g1_func({:.2f}) = {:.3f}".format(t, g1_func(t)))

for i in [0.1, 1, math.sqrt(2), math.sqrt(2)-1]:
    print("\n", "h1_func({:.2f}) = {:.3f}".format(i, h1_func(i)))
